﻿@model BrnMall.Web.StoreAdmin.Models.CashItemListModel

@section header{
    <title>充值活动项目-店铺管理</title>
    <link type="text/css" rel="stylesheet" href="/admin_store/css/site.css" />
    <script type="text/javascript" src="/admin_store/scripts/jquery.js"></script>
    <script type="text/javascript" src="/admin_store/scripts/showlist.js"></script>
}
@section body{
    <h1 class="rightH1">
        微信小程序 &gt; 店铺管理 &gt; <span class="rightH1-cur">充值活动</span> 
        <div class="right">
            <a href="@Url.Action("Add")" class="menuBT">添加</a>
            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </h1>
    <div class="table_top"></div>

    <div class="dataList">
        <table width="100%">
            <thead>
                <tr>
                    <th width="80">店铺编号</th>
                    <th align="left">活动主题</th>
                    <th align="left">充值金额</th>
                    <th align="left">赠送金额</th>
                    <th width="80" align="left">是否启用</th>
                    <th align="left">创建时间</th>
                    <th align="left">管理操作</th>
                </tr>
            </thead>
            <tbody>
                @foreach (var info in Model.List)
                {
                    <tr>
                        <td>@info.StoreId</td>
                        <td>@info.Title</td>
                        <td>@info.Amount</td>
                        <td>@info.GiveAmount</td>
                        <td>@(info.state ==1  ? "开启" : "关闭")</td>
                        <td>@info.CreateTime</td>
                        <td>
                            <a href="@Url.Action("edit", new { id = info.id })" class="editOperate">修改</a>
                            <span class="btn-line">|</span>
                            <a href="@Url.Action("delete", new { id = info.id })" class="deleteOperate">删除</a>
                        </td>
                    </tr>
                }
            </tbody>
        </table>
    </div>

    <div class="table_bottom"></div>
}